package com.itheima.mapper;

import com.itheima.pojo.Setmeal;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Map;

public interface SetMealMapper {

    void add(Setmeal setmeal);

    void setMealAndGroup(@Param("sid") Integer sid, @Param("checkgroupid") int checkgroupid);
    @Select("select * from t_setmeal")
    List<Setmeal> findAll();


    Setmeal findSetmealDetailById(@Param("id") Integer id);

    List<Map> findSetmealReport();

}
